Skip to content

adbc-driver-postgresql: add build-adbc-driver-postgresql.yml for riscv64 wheels - #1654

Open
luhenry wants to merge 1 commit into
mainfrom
adbc-driver-postgresql
Open

adbc-driver-postgresql: add build-adbc-driver-postgresql.yml for riscv64 wheels#1654
luhenry wants to merge 1 commit into
mainfrom
adbc-driver-postgresql

Conversation

@luhenry

@luhenry luhenry commented Sep 8, 2026

Copy link
Copy Markdown
Member

Compiles the libpq-based ADBC PostgreSQL driver (c/driver/postgresql, C++ over libpq) into libadbc_driver_postgresql.so, which the Python package loads via ctypes as a py3-none wheel. Upstream publishes no riscv64 wheel.

Mirrors upstream's own packaging.yml python-manylinux job and its ci/scripts/python_wheel_unix_{build,relocate}.sh.

Differs from upstream

  • libpq comes from the manylinux image's libpq-devel instead of vcpkg - no riscv64 binary cache exists for vcpkg.
  • No cibuildwheel - the wheel is interpreter-independent, so the image is driven directly instead.

Testing

  • Runs the real pytest suite against a local PostgreSQL instance on the runner instead of upstream's docker-compose one.
  • polars-marked tests are skipped - no riscv64 wheel.

License: OK

Built on cp312; wired against a local PostgreSQL for tests.

…v64 wheels

Builds libadbc_driver_postgresql.so via CMake against the manylinux
image's own libpq-devel (vcpkg has no riscv64 binary cache), packages
it into a py3-none wheel the way upstream's own relocate script does,
and tests it against a local PostgreSQL instance on the runner.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant